Skip to main content

LevelDb

LevelDb is an open source embedded NoSQL database used by many popular applications. It is commonly used by Chromium based browsers or Electron applications. Artemis supports parsing and extracting entries from LevelDb.

References

Collection​

You have to use the artemis api in order to collect SQLite information.

Sample API Script​

import { LevelDb, PlatformType, } from "./artemis-api/mod";

function main() {
const info = new LevelDb("Path to leveldb directory", PlatformType.Linux);
console.log(JSON.stringify(info.tables()));
}

main();

Output Structure​

An array of LevelDbEntry entries.

export interface LevelDbEntry {
sequence: number;
key_type: number;
value_type: ValueType;
value: string | number | boolean | unknown[] | Record<string, ProtoTag>;
shared_key: string;
origin: string;
key: string;
evidence: string;
}

export enum ValueType {
String = "String",
Null = "Null",
Number = "Number",
Date = "Date",
Binary = "Binary",
Array = "Array",
Unknown = "Unknown",
Protobuf = "Protobuf",
Utf16 = "Utf16",
}